<template>
    <div>
           
  <el-container>
   
 <el-aside width="200px">

       <el-col :span="12">
    <el-menu
      default-active="dispose1"
      class="el-menu-vertical-demo"
      @open="handleOpen"
      @close="handleClose"
      background-color="#545c64"
      router
      text-color="#fff"
      active-text-color="#ffd04b">
       <el-menu-item index="dispose1">
        <i class="el-icon-menu"></i>
        <span slot="title">导航一</span>
      </el-menu-item>
      <el-menu-item index="dispose2">
        <i class="el-icon-menu"></i>
        <span slot="title">导航二</span>
      </el-menu-item>
      <el-menu-item index="dispose3">
        <i class="el-icon-document"></i>
        <span slot="title">导航三</span>
      </el-menu-item>
      <el-menu-item index="dispose4">
        <i class="el-icon-setting"></i>
        <span slot="title">导航四</span>
      </el-menu-item>
    </el-menu>
  </el-col>
    </el-aside>
    <el-main>

    <router-view/>
    </el-main>
  </el-container>

    </div>
</template>

<script>
export default {
    name: 'index',
    data() {
        return {

        };
    },
    created() {
    },
    methods: {
        handleOpen() {

        },
        handleClose() {

        }
    },
    //组件挂载
    components: {},
    //计算属性
    computed: {},
    //过滤器
    filters: {},
};
</script>

<style lang="scss" scoped>
/deep/{
    .el-col-12{
    width: 100%;
  }
}
</style>
